<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>培训人员实况</title>
</head>
<body>
<style type="text/css">
	*{
		margin:0px;
		padding:0px;
	}
	.background{
		width: 1116px;
	    height: 570px;
	    margin: 0px auto;
	    margin-top: 12px;
	    background-color: #FFF;
	}
	.table{
		width: 1040px;
	    margin: 0px auto;
	    position: relative;
	    top: 20px;
	    border: 1px solid #E5E5E5;		
	}
	.datagrid-header .datagrid-cell span{
		color: #19AA9A;
	    font-size: 14px;
	    font-weight: 700;
	}
	.datagrid-header .datagrid-cell,.datagrid-cell, .datagrid-cell-group, .datagrid-header-rownumber, .datagrid-cell-rownumber {
		text-align: center;
	}
	.datagrid-header{
		height:39px;
	}
	.datagrid-header-row, .datagrid-row {
   	 	height: 40px;
	}
	.biao_button{
		background:#d9534f;
		border-radius:3px;
		color:white;
		margin:0 4px;
		width:60px;
		height:25px;
		border:none;
		outline: none;
		cursor:pointer;
	}
	.biao_button:hover{	
		background-color:#C9302C;
	}
	.biao_button_1{
		background-color:#17AA8D;
		border-radius:3px;
		color:white;
		margin:0 4px;
		width:60px;
		height:25px;
		border:none;
		outline: none;
		cursor:pointer;
	}
	.biao_button_1:hover{
		background-color:#13826B;
	}
</style>
<div class="background">
		<div class="table">
			<table class="easyui-datagrid actstaff" style="width:1040px;height:400px"></table>
		</div>
		<div style="position:fixed;bottom:0;box-shadow: 0 -2px 13px #bee3e6;width:1116px;margin-bottom: 10px;height:50px;background:white;text-align: center;line-height: 50px;">
			<a class="fanhui" style="background: #EC971F;font-size: 15px;padding: 2px 18px;border-radius: 3px;color:white;">返回</a>
		</div>
</div>
<script type="text/javascript">
	$(function(){
		$(".fanhui").click(function(){
			$("#content-admin").panel('open').panel('refresh','train-course');
		});
		
		$(".actstaff").datagrid({
		    url:'selectActStaff',
		    singleSelect:true,
		    columns:[[
				{field:'xuhao',title:'序号',width:110},
				{field:'depart_name',title:'部门',width:310},
				{field:'Staff_name',title:'姓名',width:310},
				{field:'urgent_phone',title:'联系电话',width:310}
			]],
	          pagination:true,
			    pageNumber:1,
			    pageSize:5,
			    pageList:[5,10,15]
		});
	});
	function deletestaff(activity_id,staff_id){
		$.ajax({
			url:"delectactstaff",
			type:"post",
			data:{"activity_id":activity_id,"staff_id":staff_id},
			success:function(data){
				$("#content-admin").panel('open').panel('refresh','train-actstaff');
			}
		})
	}
</script>
</body>
</html>